<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>MyPetStore_BMS</title>
    <link rel="stylesheet" href="../css/jpetstore.css" type="text/css" media="screen" />

</head>
<body>
<div th:replace="common/left">

</div>
<div id="BackLink">
    <a href="/admin_catalog/admin_view">Return to Main</a>
</div>

<div >
    <div id="bCatalog">
        <h2 align="center">All Accounts</h2>
        <table align="center" id="accountform">
            <tr>
                <th>User ID</th>
                <th>First Name</th>
                <th>Last Name</th>
                <td></td>
            </tr>
            <tr th:each="account:${accountList}">
                <td><a th:href="@{/admin/editAccountForm(username=${account.username})}" th:text="${account.username}">username</a></td>
                <td th:text="${account.firstName}"></td>
                <td th:text="${account.lastName}"></td>
                <td><a class="Button" th:href ="@{/admin/editAccountForm(username=${account.username})}">编辑</a></td>
            </tr>

        </table>

    </div>
</div>

</body>
</html>